package com.tm.chargecar.controller;

import com.tm.chargecar.result.Result;
import com.tm.chargecar.service.ElectronicCardMonkeyService;
import com.tm.chargecar.vo.ElectronicCardMonkeyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 该死了
 * @create 2022-08-24 15:46
 * 用户卡消费记录表
 */
@RestController
@RequestMapping("electronicCardMonkeyController")
public class ElectronicCardMonkeyController {
    @Autowired
    private ElectronicCardMonkeyService electronicCardMonkeyService;
    //用户卡消费记录查询
    @GetMapping("query")
    public Result ElectronicCardMonkeyQuery(ElectronicCardMonkeyVo electronicCardMonkeyVo){
        return electronicCardMonkeyService.ElectronicCardMonkeyQuery(electronicCardMonkeyVo);
    }

}
